-- GENERATED SPELL FOR [Drakkari Defender] --


function spell0_26704(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15496,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26704', 630, 1)
end

function Sorts_26704(pUnit, Event)
local choix_sorts_26704 = math.random(0, 0)
if choix_sorts_26704 == 0 then
pUnit:RegisterEvent('spell0_26704', 1, 1)
end
end

function mob26704_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26704', math.random(1500, 3000), 1)
end

function mob26704_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26704_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26704_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26704, 1, 'mob26704_Action')
RegisterUnitEvent(26704, 2, 'mob26704_Leave')
RegisterUnitEvent(26704, 3, 'mob26704_Kill')
RegisterUnitEvent(26704, 4, 'mob26704_Die')
